package com.baidumap.administrator.happystudy.ui;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.view.Window;
import android.widget.Button;

import com.baidumap.administrator.happystudy.R;

import butterknife.Bind;
import butterknife.ButterKnife;
import butterknife.OnClick;

public class SupermarketOverActivity extends Activity {

    @Bind(R.id.Continue)
    Button Continue;
    @Bind(R.id.order_details)
    Button orderDetails;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        requestWindowFeature(Window.FEATURE_NO_TITLE);
        setContentView(R.layout.activity_supermarket_over);
        ButterKnife.bind(this);

    }

    @OnClick({R.id.Continue, R.id.order_details})
    public void onClick(View view) {
        switch (view.getId()) {
            case R.id.Continue:
                finish();
                break;
            case R.id.order_details:
                finish();
                Intent it = new Intent(SupermarketOverActivity.this,SupermarketOrderDetailsActivity.class);
                startActivity(it);
                break;
        }
    }
}
